﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Orid.Management.Statistics.Tools.Decomposition.Model
{
    class ModelOrder :ModelBase
    {
        /// <summary>
        /// 受番ID
        /// </summary>
        public Guid OrderID { get; set; }

        /// <summary>
        /// 案件ID
        /// </summary>
       public int MatterID { get; set; }

       /// <summary>
       /// Gets or sets the name of the matter.
       /// </summary>
       /// <value>The name of the matter.</value>
       public string MatterName { get; set; }
 
        /// <summary>
        /// 子画像数
        /// </summary>
       public int DataCount { get; set; }
 
        /// <summary>
        /// 纳期
        /// </summary>
       public DateTime? DeliverDate { get; set; }
 
        /// <summary>
        /// 受付纳期
        /// </summary>
       public DateTime? OrderDeliverDateTime { get; set; }
 
        /// <summary>
        /// 处理开始
        /// </summary>
       public DateTime? StarDateTime { get; set; }
     
        /// <summary>
        /// 处理结束
        /// </summary>
       public DateTime? FinishDateTime { get; set; }
  
        /// <summary>
        /// 受付时间
        /// </summary>
       public DateTime? OrderDateTime { get; set; }
    
        /// <summary>
        /// 做成时间
        /// </summary>
       public DateTime? CreateTime { get; set; }
 
        /// <summary>
        /// /MT入力时长
        /// </summary>
       public double MTDuration { get; set; }
    
        /// <summary>
        /// MT全部时长
        /// </summary>
       public double MTPropagationTime { get; set; }
 
        /// <summary>
        /// Trimer入力时长
        /// </summary>
       public double TrimerDuration { get; set; }

        /// <summary>
        /// Trimer全部时长
        /// </summary>
       public double TrimerPropagationTime { get; set; }
 
        /// <summary>
        /// OCR入力时长
        /// </summary>
       public double OCRDuration { get; set; }

        /// <summary>
        /// OCr全部时长
        /// </summary>
       public double OCRPropagationTime { get; set; }

        /// <summary>
        /// α入力时长
        /// </summary>
       public double ΑDuration { get; set; }

        /// <summary>
        /// α全部时长
        /// </summary>
       public double ΑPropagationTime { get; set; }

        /// <summary>
        /// β入力时长
        /// </summary>
       public double ΒDuration { get; set; }

        /// <summary>
        /// β全部时长
        /// </summary>
       public double ΒPropagationTime { get; set; }

        /// <summary>
        /// A入力时长
        /// </summary>
       public double ADuration { get; set; }

        /// <summary>
        /// A全部时长	
        /// </summary>
       public double APropagationTime { get; set; }

        /// <summary>
        /// B入力时长
        /// </summary>
       public double BDuration { get; set; }

        /// <summary>
        /// B全部时长
        /// </summary>
       public double BPropagationTime { get; set; }

        /// <summary>
        /// D入力时长
        /// </summary>
       public double DDuration { get; set; }

        /// <summary>
        /// D全部时长
        /// </summary>
       public double DPropagationTime { get; set; }

        /// <summary>
        /// E入力时长
        /// </summary>
       public double EDuration { get; set; }

        /// <summary>
        /// E全部时长
        /// </summary>
       public double EPropagationTime { get; set; }

        /// <summary>
        /// juder件数
        /// </summary>
       public double JudgeJobCount { get; set; }

        /// <summary>
        /// AB件数 
        /// </summary>
       public int ABJobCount { get; set; }

        /// <summary>
        /// D件数
        /// </summary>
       public double DJobCount { get; set; }

        /// <summary>
        /// E件数
        /// </summary>
       public double EJobCount { get; set; }

       public string DataDBAddress { get; set; }

       public string JobDBAddress { get; set; }

        List<ModelProgress> listModelProgress = new List<ModelProgress>();

        internal List<ModelProgress> ListModelProgress
        {
            get { return listModelProgress; }
            set { listModelProgress = value; }
        }

        public double MachineDistinguishPropagationTime { get; set; }

        public double MachineDistinguishDuration { get; set; }

        public double ManualDistinguishPropagationTime { get; set; }

        public double ManualDistinguishDuration { get; set; }
 
        public string UserOrder { get; set; }

        //2011-2-25
        public double TrimerJobCount { get; set; }
        public double JudageAJobCount{get;set;}
        public double JudageBJobCount { get; set; }
        public double FJobCount{get;set;}
        public double GJobCount { get; set; }

        public double TrimerImageCount { get; set; }
        public double AImageCount { get; set; }
        public double BImageCount { get; set; }
        public double DImageCount { get; set; }
        public double EImageCount { get; set; }
        public double FImageCount { get; set; }
        public double GImageCount { get; set; }
        public double JudgeAImageCount { get; set; }
        public double JudgeBImageCount { get; set; }

        public double JudegADuration { get; set; }
        public double JudegBDuration { get; set; }
        public double FDuration { get; set; }
        public double GDuration { get; set; }

        public double JudegAPropagationTime { get; set; }
        public double JudegBPropagationTime { get; set; }
        public double FPropagationTime { get; set; }
        public double GPropagationTime { get; set; }
        //2011-5-31
        public Orid.Management.Component.OrderProperty Orderproperty { get; set; }

        public DateTime? OrderCancelDateTime { get; set; }

    }
}
